package com.itheima.demo1;

public class Practice10 {
    public static void main(String[] args) {
        //准备纸张的厚度变量
        double paper=0.1;
        //定时器变量.
        int count=0;
        //准备珠穆朗玛峰高度变量
        int zf=8844430;
        while (paper<=zf) {
        paper *=2;
            System.out.println(paper);
        count++;
        }
        System.out.println("需要折"+count+"次");



    }
}
